GetLastDataError

Definition:

GetLastDataError()

 

Description:

Obtain a description of the last data or comms error which occurred.

 

Platforms:

All

 

Parameters:

none

 

Returns:

String containing the last data/comms error which occurred. If no errors have occurred, an empty string is returned, "".

 

Notes:

If the Enable Script Error Handling Property in the Project Properties is set to False, you must use this Method to obtain the last error message rather than GetLastError.

Additional error reporting Methods, such as GetNumSyncErrors, GetSyncErrorDescription etc., are available which report errors updating and creating records during data transfers.


See also:

GetLastError

GetLastErrorLine

GetLastErrorType

GetNumSyncErrors

GetSyncErrorDataSource

GetSyncErrorDescription

GetSyncErrorRecordIndex

SetDataErrorOn

SetDataErrorOff

Runtime Error Handling and Debugging